package com.ethink.warehouse.api.response;

import com.ethink.warehouse.api.info.LogisticsTraceApplyDetailOrderInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 物流跟进申请详单 详情响应对象
 *
 * @Author: lzy
 * @Date: Created in 2022/12/15 13:33
 * ModifiedBy:
 * Version:
 */
@Data
public class LogisticsTraceApplyDetailOrderGetDetailResponse extends LogisticsTraceApplyOrderGetDetailResponse {

    @Schema(description ="申请详单ID")
    private Long applyDetailId;

    @Schema(description ="跟进中数量")
    private Integer tracingQty;

    /** 物流跟进申请详单关联信息 **/
    @Schema(description ="物流跟进单号")
    private String traceOrderNo;

    @Schema(description ="物流跟进数量")
    private Integer traceQty;

    @Schema(description ="报关分仓编码")
    private String bkSubWarehouseCode;

    @Schema(description ="报关分仓名称")
    private String bkSubWarehouseName;

    /** 采购批次关联信息 **/
    @Schema(description ="商品原产国")
    private String countryOfOrigin;

    @Schema(description ="商品生产日期")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date productDate;

    @Schema(description ="商品过期日期")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date expireDate;

}
